package com.bridge.applets.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bridge.applets.model.entity.BridgeRecord;
import com.bridge.applets.model.vo.req.BridgeRecodeListReq;
import com.bridge.common.model.param.BasePageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyjian
 * @since 2024-11-06
 */
public interface BridgeRecordService extends IService<BridgeRecord> {

    BridgeRecord queryById(Long recordId);

    Page<BridgeRecord> queryPage(BridgeRecodeListReq param);

    Integer countNum(Long firstRecordId);

    List<BridgeRecord> page(Long firstRecordId, Long offset,Long pageSize);

    BridgeRecord queryByCode(String bridgeCode);

    void deleteById(Long id);
}
